<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <button @click='click(msg)'>点击我</button>
    </div>
    <script src="../../vue.js"></script>
    <script>
    let app =   new Vue({
            el : '#app',
            data : {
               msg : '方法参数'     
            },
            methods : {
                click(data){
                    console.log(data)
                }
            }
        })
    </script>
</body>
</html>